package com.grm.constant;

public class UserConstant {
    public static final int UN_LOGIN = 4011;
    /**
     * 获取验证码的key
     */
    public static String getCaptchaKey(String uuid) {
        return "captcha:" + uuid;
    }

    /**
     * 获取token的key
     */
    public static String getTokenKey(String username) {
        return "token:" + username;
    }
}
